home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 4 #9 / IMG 40 Sep 1996.iso / More Goodies / More for Your Game / Escape Velocity / EV Utilities / EVBible / EVBible.rsrc / TEXT_148.txt < prev    next >
Text File  |  1996-08-05  |  2KB  |  31 lines

  1. Appendix III - Patching STR# Resources
  2.  
  3.  
  4. The STR# resource format used to store many of the strings in EV may seem to be incompatible with the flexible nature of plugin files. For example, a plugin for a new ship would have to replace several of the built-in STR# resources to incorporate its new name into the game. The problem arises when you want to use two plugins that try to modify the same STR# resource.
  5.  
  6. The solution is not to changes the STR# resources at all, but to use EV‚Äôs handy string patching functionality by updating only select strings in a STR# resource by providing EV with a properly-numbered 'STR ' resource. For example, to change the first cargo type from food to something else, you‚Äôd simply create a 'STR ' resource with the ID 9000 and type in the name of your new commodity. A chart of 'STR ' resource numbers is provided below:
  7.  
  8. String Type:    Replacement 'STR ' ID range:
  9. Message buoys    1000-2500
  10. Short outfit names    3000-3127
  11. Lowercase outfit names    3200-3327
  12. Lowercase plural outfit names    3400-3527
  13. Short shipyard names    3600-3663
  14. Long shipyard names    3700-3763
  15. Short ship names for communications dialog    3800-3863
  16. Government abbreviations for target display    4000-4127
  17. Government short names for comm dialog    4200-4327
  18. Hail quotes    5000-5511
  19. Disaster news    6000-6127
  20. Stellar types    7000-7063
  21. j√ºnk abbreviations    8000-8127
  22. Lowercase j√ºnk names    8200-8327
  23. Generic cargo names    9000-9063
  24. Lowercase cargo names    9100-9163
  25. Cargo abbreviations for status display    9200-9263
  26. Base prices of commodities    9300-9305
  27. Commodity abbreviations for status display    9400-9405
  28.  
  29.  
  30. (A similar function exists for updating the graphics for the shipyard and outfit menus - see the note at the top of this document for details.)
  31.